<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript">
        function testGofunc() {
            alert("JS内部函数")
            GoMsgBox("这个是Go实现的函数")
            alert("请求Go函数Gosum(1,2,3,4,5)="+Gosum(1,2,3,4,5))
        }

        function JsHtml(){
            return document.getElementsByTagName("html")[0].outerHTML;
        }
    </script>
</head>
<body>
    <button onclick="testGofunc()">测试Go原生函数</button>
</body>
</html>